import { createStore, applyMiddleware ,combineReducers} from 'redux';
import logger from 'redux-logger';
import thunk from 'redux-thunk';

import HomeStore from './Reduxs/index'
import Redux_Fille from './Reduxs/Redux_Fille'
import Redux_knowledge from './Reduxs/Redux_knowledge'
import Redux_messages from './Reduxs/Redux_messages'
import Redux_regards from './Reduxs/Redux_regards'


//合并redux单仓库
let bigRedux=combineReducers({
    HomeStore,
    Redux_Fille,
    Redux_knowledge,
    Redux_messages,
    Redux_regards
});


export default createStore(bigRedux,applyMiddleware(thunk,logger));
